Lecture 9 — March 4 , 2010

نویسندگان

  • André Schulz
  • Paul Christiano
چکیده

Last lecture we defined the Least Common Ancestor (LCA) and Range Min Query (RMQ) problems. Recall that an LCA query asks for the deepest node in a given rooted tree which is an ancestor of each of two query nodes, while an RMQ query asks for the minimal value stored in some contiguous subarray of a given array. We showed last lecture that an LCA query is nothing more than an RMQ query on an Euler tour of the given tree (where the value assigned to any node is its depth in the tree). Moreover, this array has the property that the difference between any pair of consecutive elements is ±1. Thus if we could solve the RMQ problem for so-called “±1 arrays” we could solve LCA.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Math 140a: Foundations of Real Analysis I

1. Ordered Sets, Ordered Fields, and Completeness 1 1.1. Lecture 1: January 5, 2016 1 1.2. Lecture 2: January 7, 2016 4 1.3. Lecture 3: January 11, 2016 7 1.4. Lecture 4: January 14, 2014 9 2. Sequences and Limits 13 2.1. Lecture 5: January 19, 2016 13 2.2. Lecture 6: January 21, 2016 15 2.3. Lecture 7: January 26, 2016 18 2.4. Lecture 8: January 28, 2016 21 3. Extensions of R: the Extended Rea...

متن کامل

Notes on Class Field Theory , Postech Summer School 2010

Preface 1 Preliminaries: Galois theory, algebraic number theory 2 Lecture 1. CFT of Q: classical (Mo. 19/7/10, 9:40–10:40) 4 Lecture 2. CFT of Q: via adeles (Mo. 19/7/10, 11:00–12:00) 6 Lecture 3. Local CFT, local-global compatibility (Tu. 20/7/10, 9:40–10:40) 8 Lecture 4. Global CFT, l-adic characters (Tu. 20/7/10, 11:00–12:00) 10 Appendix A. More on GLC for GL1: algebraic Hecke characters 12 ...

متن کامل

ELLIPTIC CURVES AND MODULAR FORMS Contents

1. January 21, 2010 2 1.1. Why define a curve to be f rather than V (f) ⊂ P(k)? 3 1.2. Cubic plane curves 3 2. January 26, 2010 4 2.1. A little bit about smoothness 4 2.2. Weierstrass form 5 3. January 28, 2010 6 3.1. An algebro-geometric description of the group law in terms of divisors 6 3.2. Why are the two group laws the same? 7 4. February 2, 2010 7 4.1. Overview 7 4.2. Uniqueness of Weier...

متن کامل

Computational Science and Its Applications - ICCSA 2010, International Conference, Fukuoka, Japan, March 23-26, 2010, Proceedings, Part III

Where you can find the computational science and its applications iccsa 2010 international conference fukuoka japan march 23 26 2010 proceedings part iii lecture notes in computer science easily? Is it in the book store? Online book store? are you sure? Keep in mind that you will find the book in this site. This book is very referred for you because it gives not only the experience but also les...

متن کامل

Approximation Algorithms and Hardness of Approximation March 19 , 2013 Lecture 9 and 10 : Iterative rounding II

In the last lecture we saw a framework for building approximation algorithms using iterative rounding: 1. Formulate the problem as a linear program (LP) 2. Characterise extreme point structure 3. Iterative algorithm 4. Analysis We used this framework to solve two problems: Matchings in Bipartite Graphs and the Generalised Assignment Problem. A negative point about this approach is that it requi...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2010